package com.cloudcc.mobile.parser;

import org.json.JSONObject;

import com.cloudcc.mobile.util.Tools;
import com.litesuits.android.log.Log;

public class ReturnCodeParser {
	/*
	 * 解析返回的数据
	 */
	public static String getReturnCode(String jsonString) {
		Log.d("fanhuishuju1", "返回的数据" + jsonString);
		String result = "";
		try {
			JSONObject obj = new JSONObject(jsonString);
			result = obj.getString("returnCode");
		} catch (Exception e) {
			e.printStackTrace();
			Tools.handle(e);
		}
		return result;
	}
}
